From deff8355e49d252f31123cbdcd94dd617b5bb007 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sandro=20Knau=C3=9F?= Date: Tue, 30 Jul 2024 12:35:29 +0200 Subject: [PATCH] GIT_SHA1 points to the sha1 of upstream. Origin: Debian Forwarded: not-needed Last-Update: 2024-07-30 Gbp-Pq: Name 0004-GIT_SHA1-points-to-the-sha1-of-upstream.patch --- CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 140ffa8ec..8cf4499d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -112,9 +112,8 @@ include(GNUInstallDirs) include(DefineInstallationPaths) include(GenerateExportHeader) -include(GetGitRevisionDescription) - -get_git_head_revision(GIT_REFSPEC GIT_SHA1) +# On Debian we always have use a released version +set(GIT_SHA1 "GITDIR-NOTFOUND") add_definitions( -DQT_DISABLE_DEPRECATED_BEFORE=0x051200 -- 2.30.2